package com.ruoyi.record.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.record.domain.RecordCompete;
import com.ruoyi.record.domain.RecordCompete;

import java.util.List;

/**
 * 职称申报Service接口
 * 
 * @author ruoyi
 * @date 2024-05-09
 */
public interface IRecordCompeteService extends IService<RecordCompete>
{
    /**
     * 查询职称申报
     * 
     * @param competeId 职称申报主键
     * @return 职称申报
     */
    public RecordCompete selectRecordCompeteByCompeteId(Long competeId);

    /**
     * 查询职称申报列表
     * 
     * @param recordCompete 职称申报
     * @return 职称申报集合
     */
    public List<RecordCompete> selectRecordCompeteList(RecordCompete recordCompete);

    /**
     * 新增职称申报
     * 
     * @param recordCompete 职称申报
     * @return 结果
     */
    public int insertRecordCompete(RecordCompete recordCompete);

    /**
     * 修改职称申报
     * 
     * @param recordCompete 职称申报
     * @return 结果
     */
    public int updateRecordCompete(RecordCompete recordCompete);

    /**
     * 批量删除职称申报
     * 
     * @param competeIds 需要删除的职称申报主键集合
     * @return 结果
     */
    public int deleteRecordCompeteByCompeteIds(String competeIds);

    /**
     * 删除职称申报信息
     * 
     * @param competeId 职称申报主键
     * @return 结果
     */
    public int deleteRecordCompeteByCompeteId(Long competeId);

    /**
     * 查询职称申报列表
     *
     * @param recordCompete 职称申报
     * @return 职称申报集合
     */
    public List<RecordCompete> selectVerifyCompeteList(RecordCompete recordCompete);

    /**
     * 查询职称申报列表
     *
     * @param recordCompete 职称申报
     * @return 职称申报集合
     */
    public List<RecordCompete> selectScoreCompeteList(RecordCompete recordCompete);


    /**
     * 职称申报审批
     * @param recordCompete
     * @return
     */
    public int verifyRecordCompete(RecordCompete recordCompete);

    /**
     * 职称申报审批
     * @param recordCompete
     * @return
     */
    public int scoreRecordCompete(RecordCompete recordCompete);

    /**
     * 导入职称申报
     *
     * @param competeList 职称申报列表
     * @return 结果
     */
    public String importRecordCompete(List<RecordCompete> competeList, boolean isUpdateSupport);
}
